package com.bootdo.appsystem.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.appsystem.dao.TixianDao;
import com.bootdo.appsystem.domain.TixianDO;
import com.bootdo.appsystem.service.TixianService;



@Service
public class TixianServiceImpl implements TixianService {
	@Autowired
	private TixianDao tixianDao;
	
	@Override
	public TixianDO get(Integer id){
		return tixianDao.get(id);
	}
	
	@Override
	public List<TixianDO> list(Map<String, Object> map){
		return tixianDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return tixianDao.count(map);
	}
	
	@Override
	public int save(TixianDO tixian){
		return tixianDao.save(tixian);
	}
	
	@Override
	public int update(TixianDO tixian){
		return tixianDao.update(tixian);
	}
	
	@Override
	public int remove(Integer id){
		return tixianDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return tixianDao.batchRemove(ids);
	}

	@Override
	public void batchUpdate(Integer[] ids) {
		tixianDao.batchUpdate(ids);
	}

}
